<template>
  <div class="airQt">
    <p class="airQt_title">{{ airQtInfoTitle }}</p>
    <i
      class="airQt_animate"
      :style="{ height: airQtInfoNum / 150 + 'rem' }"
    ></i>
    <p class="airQt_num">{{ airQtInfoNum }}</p>
  </div>
</template>

<script>
export default {
  name: "AirQtInfo",
  data() {
    return {};
  },
  props: {
    airQtInfoTitle: String,
    airQtInfoNum: String,
  },
};
</script>

<style scoped>
.airQt {
  flex: 1;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  font-size: 0.15rem;
}
.airQt_animate {
  width: 0.05rem;
  background-color: rgba(238, 10, 36, 0.9);
  border-radius: 0.16rem;
}
.airQt .airQt_num {
  margin-bottom: 0.05rem;
}
.airQt .airQt_title {
  margin-top: 0.08rem;
  font-size: 0.13rem;
  font-weight: 600;
}
</style>